InfiniteLine
InfiniteLine[{p1,p2}] represents the infinite straight line passing through the points p1 and p2.
InfiniteLine[p,v] represents the infinite straight line passing through the point p in the direction v.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.